package com.seecen.controller;

import com.seecen.pojo.vo.PageVo;
import com.seecen.service.TransferRecordService;
import com.seecen.utils.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: pet
 * @description:
 * @author: king
 * @create: 2025-10-16 14:42
 * @version: 1.0
 **/
@Slf4j
@RestController
@RequestMapping("transfer")
public class TransferRecordController {
    @Autowired
    private TransferRecordService transferService;
    @GetMapping("/list")
    public Result transferNews(@RequestBody PageVo pageVo){
        return transferService.transferNews(pageVo);
    }
}